@import (css) "../../fonts/fonts.wxss";
@import "../../less/var.less";
.search-bar{
    width: 100%;
    height: @topH;
    padding: 12rpx;
    background: white;
    display: flex;
    flex-flow: row nowrap;
    box-sizing: border-box;
    box-shadow: 0 1px 4px #888888;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    .input{
        flex-grow: 1;
        position: relative;
        >input{
            height: 100%;
            color: @dark;
            background: #dedede;
            border-radius: 10000rpx 0 0 10000rpx;
            font-size: 28rpx;
            padding-left: 50rpx;
            // line-height: 1.5;
        }
        >text{
            position: absolute;
            top: 0;
            left: 0;
            line-height: 1.8;
            padding: 0 10rpx;
        }
    }
    .btn{
        width:140rpx;
        >text{
            background: @blue;
            color: white;
            font-size: 28rpx;
            font-weight: bold;
            display: inline-block;
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: @topH - 12rpx*2;
            border-radius:0 10000rpx 10000rpx 0;
            &:active{
                background-color: desaturate(@blue,40%);
            }
        }
    }
}